*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  // light
  color-scheme: dark;
  /* 禁止双击放大 */
  touch-action: manipulation;
  -webkit-text-size-adjust: none;
}
body{
  background-color: #221a18;
  max-width: 700px;
  margin: auto;
  font-size: 13px;
  /* 防止用户选择文本 */
  -webkit-user-select: none;
  user-select: none;
  /* 禁止长按弹出菜单 */
  -webkit-touch-callout: none;
}

/* 防止按钮等元素点击出现高亮 */
a, button, input, select, textarea, div[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

html.dark {
  background: #222;
  color-scheme: dark;
}

#app {
  height: 100%;
  position: relative;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
.font-12 {
  font-size: 12px;
}

/* Vant对话框样式覆盖 */
.van-popup, .van-dialog {
  background-color: rgb(34, 26, 24) !important;
}

.van-dialog__message {
  color: rgb(246, 234, 222) !important;
}

.van-popup--center {
  background-color: rgb(34, 26, 24) !important;
}

.van-button--default {
  color: rgb(246, 234, 222) !important;
  background-color: transparent !important;
}

.van-dialog__cancel .van-button__content{
  color: rgb(153, 153, 153);
}
